<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="layout/header">
</head>
<body>
	<input id="conId" type="hidden" th:value="${conId}" />
	<input id="type" type="hidden" th:value="${type}" />
	<div id="fakeLoader"></div>
	<section class="content-header" th:if="${type=='qcBefore'}">
		<h3>前质控</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i>首页</li>
			<li>质控管理</li>
			<li class="active">前质控</li>
		</ol>
	</section>
	<section class="content-header" th:if="${type=='qcAfter'}">
		<h3>后质控</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i>首页</li>
			<li>质控管理</li>
			<li class="active">后质控</li>
		</ol>
	</section>
	<section class="content-header" th:if="${type=='assign'}">
		<h3>会诊分配</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i>首页</li>
			<li>会诊管理</li>
			<li class="active">会诊分配</li>
		</ol>
	</section>
	<section class="content-header" th:if="${type=='myApply'}">
		<h3>我的申请</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i>首页</li>
			<li>我的会诊</li>
			<li class="active">会诊分配</li>
		</ol>
	</section>
	<section class="content-header" th:if="${type=='myTask'}">
		<h3>我的任务</h3>
		<ol class="breadcrumb">
			<li><i class="fa fa-home"></i>首页</li>
			<li>我的会诊</li>
			<li class="active">我的任务</li>
		</ol>
	</section>
	<!-- Main content -->
	
	<!-- 前质控-->
	<section class="content" th:if="${type=='qcBefore'}">
		<div class="nav-tabs-custom">
            <ul class="nav nav-tabs">
              <li class="active"><a href="#tab_conInfo" data-toggle="tab">会诊信息</a></li>
              <li><a href="#tab_patientInfo" data-toggle="tab">患者信息</a></li>
              <li><a href="#tab_clinicInfo" data-toggle="tab">临床信息</a></li>
            </ul>
            <div class="tab-content">
            	<!-- 加载会诊信息 -->
              <div id="tab_conInfo" class="tab-pane active" th:include="business/consultation/common/conInfo::conInfo ('true')">
              </div>
              <!-- 加载患者信息 -->
              <div id="tab_patientInfo" class="tab-pane" th:include="business/consultation/common/patientInfo::patientInfo ('true')">
              </div>
              <!-- 加载临床信息 -->
              <div id="tab_clinicInfo" class="tab-pane" th:include="business/consultation/common/clinicInfo::clinicInfo ('true')">
              </div>
            </div>
          </div>
          <!-- 加载流程信息 -->
          <div id="processInfo" th:if="${finish=='0'}" th:include="business/consultation/common/processInfo::processInfo ('false')">
          </div>
          <!-- 加载按钮-->
          <div th:if="${type=='qcBefore'} and ${finish=='0'}" th:include="business/consultation/common/buttons::buttons ('qcBefore')">
          </div>
          <div th:if="${type=='qcBefore'} and ${finish=='1'}" th:include="business/consultation/common/buttons::buttons ('onlyBack')">
          </div>
	</section>
	
	<!-- 分诊-->
	<section class="content" th:if="${type=='assign'}">
		<div class="nav-tabs-custom">
            <ul class="nav nav-tabs">
              <li class="active"><a href="#tab_conInfo" data-toggle="tab">会诊信息</a></li>
              <li><a href="#tab_patientInfo" data-toggle="tab">患者信息</a></li>
              <li><a href="#tab_clinicInfo" data-toggle="tab">临床信息</a></li>
              <li><a href="#tab_assignInfo" data-toggle="tab">会诊分配</a></li>
            </ul>
            <div class="tab-content">
            	<!-- 加载会诊信息 -->
              <div id="tab_conInfo" class="tab-pane active" th:include="business/consultation/common/conInfo::conInfo ('true')">
              </div>
              <!-- 加载患者信息 -->
              <div id="tab_patientInfo" class="tab-pane" th:include="business/consultation/common/patientInfo::patientInfo ('true')">
              </div>
              <!-- 加载临床信息 -->
              <div id="tab_clinicInfo" class="tab-pane" th:include="business/consultation/common/clinicInfo::clinicInfo ('true')">
              </div>
              <!-- 加载分诊信息 -->
              <div id="tab_assignInfo" class="tab-pane" th:include="business/consultation/common/assignInfo::assignInfo ('false')">
              </div>
            </div>
          </div>
          <!-- 加载流程信息 -->
          <div id="processInfo" th:include="business/consultation/common/processInfo::processInfo ('false')">
          </div>
          <!-- 加载按钮-->
          <div th:if="${type=='assign'}" th:include="business/consultation/common/buttons::buttons ('assign')">
          </div>
	</section>
	<!-- /.content -->
	</div>
	<div th:include="layout/footer"></div>
	<script th:if="${projectModel=='dev'}" th:src="@{/static/js/business/consultation/detail/detail.js(v=${#dates.createNow().getTime()})}"></script>
	<script th:if="${projectModel=='product'}" th:src="@{/static/js/business/consultation/detail/detail.js}"></script>
</body>
</html>